POV-Ray : Newsgroups : povray.newusers : Using Ambient Light Settings : Re: Using Ambient Light Settings Server Time
29 Jul 2024 06:17:22 EDT (-0400)
  Re: Using Ambient Light Settings  
From: zombiebhp
Date: 14 Jul 2006 07:25:01
Message: <web.44b77e02bc7d6ebc1709b0c0@news.povray.org>
"M_a_r_c" <jac### [at] wanadoofr> wrote:

> web.44b6e69ef8cbc39dc1709b0c0@news.povray.org...
> > You have some of the most AMAZING software available to use for graphics.
> > Well, enough of the hobbknobbing I have questions that need to be
> answered.
> > I am trying to put ambient light on an object that would appear as the
> Sun.
> > so far what I got is:
> > sphere
> >       { <0,0,0>860
> >       pigment { image_map
> >       { gif "sun.gif"
> >       map_type 1
> >     }
> >   }
> >   translate <0,0,3000>
> > }
> > Now I do not know exactly what or where to insert any string data to do
> with
> > ambient light coming from this object named "sun.gif". Can anyone help,
> > Please.
> > Anytime I try to input ambiet_light I get an Error message.
> >                                               Thank you Brian
> >
> >
> You could look at the texture section in the POVRay doc
> http://www.povray.org/documentation/view/3.6.1/331/
>
> to simplify you put a pigment, it is ok
> but ambient is a finish item.
> pigment determines the basic color of an object on its surface.
> finish determines how this surface reacts to light (diffuse, ambient,
> reflection, specular.....)
> pigment and finish are gathered in a texture block
> sphere
>        { <0,0,0>860
>        texture{
>             pigment { image_map   { gif "sun.gif"  map_type 1    }
>             finish { ambient 1 diffuse 0}
> // ambient 1 makes object "shine" (not lighting the scene but visible)
> //and diffuse 0 make it not interacting with lights
>        }
>    translate <0,0,3000>
>  }
>
>
> Marc
I appreciate your help, but I have a problem with your solution. Anytime I
use a 'finish' at all I get an error message. I must not know how to use
'finish' correctly.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.